<style>
	#butt a{
		color:#000000;
		text-decoration:none;
	}
	#butt{
		line-height:24px;
		display:inline-block;
		border-radius:4px;
		cursor:pointer;
		width:80px;
		height:24px;
		background-color:#99eeff;
	}
	table{
		font-size:12px;
		width:1160px;
		text-align:center;
		border-collapse:collapse;
	}
	table tr td{
		border:1px solid #999;
		height:30px;
	}
	.tr_b td{
		font-weight:bold;
	}
</style>
<script>
	function del(){
			return confirm('确定要删除？');
	}

</script>
	<table>
		<tr>
			<td colspan="8"><div id='butt'><a href="/index.php/Admin/Article_cate/add">添加文章分类</a></div></td>
		</tr>
		<tr class='tr_b'>
			<td>#编号</td>
			<td>文章分类名称</td>
			<td>id</td>
			<td>分类类型（标识）</td>
			<td>描述</td>
			<td>排序</td>
			<td>状态</td>
			<td>操作</td>
		</tr>
<?php
	$i=0;
	foreach ($artcateData as $val):
?>
		<tr class='tr_n'>
			<td><?php echo ++$i; ?></td>
			<td><?php echo $val['cateName'] ?></td>
			<td><?php echo $val['id']; ?></td>
			<td>
<?php 
	if ($val['mark']==1) {
		echo '系统帮助';
	}elseif($val['mark']==2){
		echo '普通快讯';
	}elseif($val['mark']==3){
		echo '单页管理';
	}else{
		echo '其它类型';
	}
?>
			</td>
			<td><?php echo $val['brief'] ?></td>
			<td><?php echo $val['sort'] ?></td>
			<td><?php echo $val['status'] ?></td>
			<td>
				<a href='/index.php/Admin/Article/update/id/<?php echo $val['id']?>'>修改</a>
				
				<a href='/index.php/Admin/Article/delete/id/<?php echo $val['id']?>'>删除</a>
			</td>
		</tr>
<?php
	endforeach;
?>

	</table>